package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.to.SeckillSkuInfo;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    //1.获取sku详细信息
    //2.获取sku图片信息
    //3.获取当前sku的所有spu销售属性
    //4.获取spu基本属性
    //5.获取spu的介绍信息
    private SkuInfoEntity info;

    private List<SkuImagesEntity> images;

    private String spuDesc;

    private List<ItemAttrVo> skuSaleAttrs;

    private List<SpuGroupName> groupNames;
    /**
     * 秒杀信息
     */
    private SeckillSkuInfo seckill;
}
